Add Blog management functionality to Store area #620
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR implements comprehensive blog management functionality for the Store area, following the same pattern as the News Store implementation from PR #617. Store managers can now manage blog posts with full CRUD operations while respecting store-level permissions.
Problem
Store managers previously had no way to manage blog posts from their store dashboard. All blog management was restricted to the main Admin area, requiring elevated permissions and access to all stores' content.
Solution
Extended the Store area with complete blog management capabilities by:
1. Added Blog Permission for Store Managers
PermissionExtensions.csto includeStandardPermission.ManageBlogfor Store manager role2. Created Blog Controller for Store Area
BlogController.cswith full CRUD operations:3. Built Complete UI Components
4. Enhanced Security & Authorization
Key Features
Technical Implementation
The implementation reuses existing infrastructure:
IBlogViewModelServicefor business logicBlogPostModeland related modelsUI Preview
The interface provides an intuitive grid-based view of blog posts with easy access to creation, editing, and management functions. Store managers can efficiently handle their blog content without needing access to the main Admin area.
Files Changed
PermissionExtensions.csBlogController.cs(new)_ViewImports.cshtmlfor model accessThis change enables store managers to maintain their blog content independently while maintaining security boundaries and consistent user experience with other Store area functionality.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.